//
//  LYQTopicListSearchView.m
//  ZCProject
//
//  Created by Zheng on 2016/12/20.
//  Copyright © 2016年 Zheng. All rights reserved.
//

#import "LYQTopicListSearchView.h"

@implementation LYQTopicListSearchView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = RGB(244, 244, 244, 1);
        
        _searchBar = [[UISearchBar alloc] initWithFrame:frame];
        _searchBar.placeholder = @"搜索";
        _searchBar.layer.cornerRadius = 15;
        _searchBar.layer.masksToBounds = YES;
        _searchBar.layer.borderColor = [[UIColor whiteColor] CGColor];
        _searchBar.layer.borderWidth = 8;
        
        [self addSubview:_searchBar];

    }
    return self;
}

@end
